package com.zmj.sy.mom.srv.aps.bean.entity.mes;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

@Comment("生产-工件异常详情")
@Getter
@Setter
@TableName("tb_mes_part_except_detail")
public class PartExceptDetail extends BaseEntity {
    @Comment("物料异常id")
    private Integer partExceptId;

    private Integer pid;
    @Comment("物料编码")
    private String materCode;
    @Comment("物料名称")
    private String materName;

    @Comment("已完成工序编码")
    private String prePhaseCode;
    @Comment("待加工工序编码")
    private String phaseCode;
    @Comment("异常工序编码")
    private String exceptPhase;
    @Comment("工序当前位置")
    private Integer phaseSeq;
    @Comment("处理工序链")
    private String dealPhase;

    @Comment("问题描述")
    private String remark;

    @Comment("图片1")
    private String img1;

    @Comment("图片2")
    private String img2;

    @Comment("图片3")
    private String img3;

    @Comment("处理状态 1 待处理 2 维修中 3已确认")
    private Integer status;
    @Comment("处理类型 1 返修  2 报废")
    private Integer exceptType;
    @Comment("处理前数量")
    private Integer beforeCount;

    @Comment("处理数量")
    private Integer processCount;

    @Comment("处理后数量")
    private Integer afterCount;

    @Comment("工号")
    private String userCode;

}
